class Config(object):
    DEBUG = True
    SECRET_KEY = "asdfasdf"
    MYSQL_HOST = "localhost"
    MYSQL_USER = "root"
    MYSQL_PASSWORD = ""
    MYSQL_DB = "test"
    ERR = {
        "1001": [1001, "用户名不正确或用户不存在"],
        "1002": [1002, "密码不正确"],
        "1003": [1003, "数据库链接异常"],
        "1004": [1004, "参数错误"],
        "1005": [1005, "菜单获取失败"],
        "1006": [1006, "菜单已存在，请修改"],
    }
    CREATE_TIME = "create_time"
    CREATE_BY = "create_by"
    UPDATE_TIME = "update_time"
    UPDATE_BY = "update_by"
